import { $t } from "@/plugins/i18n";
import { myprojects } from "@/router/enums";

export default {
  path: "/devices",
  redirect: "/devices/index",
  meta: {
    icon: "ep:cpu",
    title: $t("menus.hsMyDevices"),
    rank: myprojects,
    roles: ["admin"]
  },
  children: [
    {
      path: "/devices/index",
      name: "设备管理",
      component: () => import("@/views/devices/index.vue"),
      meta: {
        title: $t("menus.hsMyDevices")
      }
    }
  ]
} as RouteConfigsTable;
